using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MyProject.Persona
{

    public abstract class BaseState
    {
        protected Personas persona;
        protected PlayerController player;

        protected BaseState(Personas persona, PlayerController player)
        {
            this.persona = persona;
            this.player = player;
        }

        public Personas Persona
        {
            get => persona;
        }
        
        //几种基本逻辑执行
        
        public abstract void OnStart();
        public abstract void OnEnd();
        public abstract Personas LogicUpdate();

    }
    
}

